#include "include.h"

#if (LANG_SELECT == LANG_EN_ZH)
const res_addr_t mul_lang_tbl[2][IDX_MAX_MP3] = {
    {
        [IDX_LANGUAGE_MP3   ] = {&RES_BUF_EN_LANGUAGE_MP3,      &RES_LEN_EN_LANGUAGE_MP3},
        [IDX_LOW_BATTERY_MP3] = {&RES_BUF_EN_LOW_BATTERY_MP3,   &RES_LEN_EN_LOW_BATTERY_MP3},
        [IDX_POWERON_MP3    ] = {&RES_BUF_EN_POWERON_MP3,       &RES_LEN_EN_POWERON_MP3},
        [IDX_POWEROFF_MP3   ] = {&RES_BUF_EN_POWEROFF_MP3,      &RES_LEN_EN_POWEROFF_MP3},
        [IDX_MAX_VOL_MP3    ] = {&RES_BUF_EN_MAX_VOL_MP3,       &RES_LEN_EN_MAX_VOL_MP3},
        [IDX_PAIRING_MP3    ] = {&RES_BUF_EN_PAIRING_MP3,      &RES_LEN_EN_PAIRING_MP3},
        [IDX_CONNECTED_MP3  ] = {&RES_BUF_EN_CONNECTED_MP3,    &RES_LEN_EN_CONNECTED_MP3},
        [IDX_DISCONNECT_MP3 ] = {&RES_BUF_EN_DISCONNECT_MP3,   &RES_LEN_EN_DISCONNECT_MP3},
    },
    {
        [IDX_LANGUAGE_MP3   ] = {&RES_BUF_ZH_LANGUAGE_MP3,     &RES_LEN_ZH_LANGUAGE_MP3},
        [IDX_LOW_BATTERY_MP3] = {&RES_BUF_ZH_LOW_BATTERY_MP3,  &RES_LEN_ZH_LOW_BATTERY_MP3},
        [IDX_POWERON_MP3    ] = {&RES_BUF_ZH_POWERON_MP3,      &RES_LEN_ZH_POWERON_MP3},
        [IDX_POWEROFF_MP3   ] = {&RES_BUF_ZH_POWEROFF_MP3,     &RES_LEN_ZH_POWEROFF_MP3},
        [IDX_MAX_VOL_MP3    ] = {&RES_BUF_ZH_MAX_VOL_MP3,      &RES_LEN_ZH_MAX_VOL_MP3},
        [IDX_PAIRING_MP3    ] = {&RES_BUF_ZH_PAIRING_MP3,      &RES_LEN_ZH_PAIRING_MP3},
        [IDX_CONNECTED_MP3  ] = {&RES_BUF_ZH_CONNECTED_MP3,    &RES_LEN_ZH_CONNECTED_MP3},
        [IDX_DISCONNECT_MP3 ] = {&RES_BUF_ZH_DISCONNECT_MP3,   &RES_LEN_ZH_DISCONNECT_MP3},
    },
};

void multi_lang_init(uint lang_id)
{
}

const res_addr_t *res_get_ring_num(u8 index)
{
    return &mul_lang_tbl[sys_cb.lang_id][index+IDX_NUM_0_MP3];
}

#endif //#if (LANG_SELECT == LANG_EN_ZH)
